/**
 * 
 */
package com.googlecode.iant.dom;

public interface IXmlAttribute {
	
	/**
	 * @param <T>
	 * @param type
	 * @return this attribute as an object of specified type.
	 */
	<T> T as(Class<T> type);
	
	/**
	 * @return true if this attribute has beed defined
	 */
	boolean defined();

	String value();
	
}